package com.yunxi.yunxicaiproject.entity.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.ai.tool.annotation.ToolParam;

/**
 * <p>
 * 学生信息表
 * </p>
 *
 * @author azraelkaxi
 * @since 2025-06-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("ai_student")
public class AiStudent implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 学号，主键
     */
    @TableId(value = "student_id", type = IdType.AUTO)
    @ToolParam(required = false, description = "学生学号")
    private String studentId;

    /**
     * 学生姓名
     */
    @ToolParam(required = false, description = "学生姓名")
    private String name;

    /**
     * 手机号码
     */
    @ToolParam(required = false, description = "手机号")
    private String phone;

    /**
     * 性别：M-男，F-女，O-其他
     */
    @ToolParam(required = false, description = "性别，性别：M-男，F-女，O-其他")
    private String gender;

    /**
     * 所属班级ID
     */
    @ToolParam(required = false, description = "学生所属班级的班级ID")
    private Integer classId;

    /**
     * 登录密码，MD5加密存储
     */
    @ToolParam(required = false, description = "登录密码，在查询信息的时候不给用户看")
    private String password;

    /**
     * 状态：1-正常，0-禁用
     */
    @ToolParam(required = false, description = "当前学生状态")
    private Integer status;


}
